Every deliberate gap in GBML, the hardware or toolchain reason behind it, and what to use instead.
Every entry below is unavailable on purpose, for a concrete reason tied to the hardware or the toolchain - not an oversight, and not a feature planned for later. One entry breaks that pattern, and says so plainly: a constructor (function X(...) constructor {...}, called with new) is a real, designed feature the checker already understands correctly - it just has not been built yet, a genuine gap rather than a choice. It is listed here anyway, because right now it needs exactly what every other row gives: the real reason, and what to write instead. The API table carries an entry for each deliberate gap the same way (support: 'none', What GBML is), so reaching for one does not get you "unknown function" - it gets you the specific reason and what to do instead, the same as it does here. A plain struct LITERAL (/// @type {struct Vec2}, or an untagged { x: 0, y: 0 }) is not on this list any more - it compiles - see Structs and constructors for exactly what that covers and the one narrower thing (reading a field off a struct-typed script parameter) that still does not.
| Not available | Why | Instead |
|---|---|---|
| A variable changing type | one instance variable is one field of one C++ type | declare a second variable |
undefined, or a value of unknown type | nothing here is dynamically typed at run time | nothing for "no instance"; a plain flag variable for anything else |
try / catch / throw | the toolchain builds with exceptions turned off entirely | return a status value and check it |
| Reading or writing a variable by a name built at run time | variable names do not exist once compiled - there is nothing left at run time to look a name up in | an array you index instead |
A constructor (function X(...) constructor {...}) actually compiling, or calling one with new | a real, disclosed gap, not a design choice - constructor/new type-check, but nothing yet turns the call into a real value; a plain struct LITERAL is a separate, WORKING feature - see Structs and constructors | a plain function, plus a struct literal built by hand where a constructor would have returned one |
| Adding a member to a struct after it is built | a struct is one fixed shape, settled where you write it - this holds regardless of the row above, since it is about struct LITERALS, which already compile | declare every member when you write the struct literal |
| An array, string, list, map, grid, stack or queue with no size limit | memory is fixed at build time, there is no heap to grow into | declare a @capacity - overflow past it clamps and is reported in a development build, never corrupts anything |
| Free-form shapes, surfaces, or shaders | the hardware draws tiles and sprites, not arbitrary pixels | a sprite, a tiled background, or one of the effects the engine provides |
| Mouse, touch, gestures, or windows | none of these exist on the hardware | buttons - the Button events on Events, or the polling functions on Functions |
| Files, networking, or threads | none of these exist on the hardware either | the save store (see the engine's audio-and-saving surface) |
| Calling a function by a name built at run time | no reflection - every call is resolved once, at compile time | call the function directly, or hold it as a function-typed variable (Functions) and call that |
| Changing the frame rate | the hardware's own refresh rate sets it, fixed | count frames instead of measuring elapsed time |
| A general physics engine | none exists on this hardware, or in this engine | the motion and collision functions the engine does provide |
Look closely and almost every row comes back to the same handful of hard facts: the GBA has fixed memory with no heap to grow into, the build turns exceptions off, and there is genuinely no mouse, filesystem, or variable frame rate to expose - GBML is not being conservative here, it is telling the truth about what the machine in your hands can actually do. Where the machine shows through covers the other half of that honesty: the things that do work, with a note on exactly how the hardware shapes them.